﻿using BaseData.CommonLib.Models;
using Swimj.CommonLib.Base;

namespace BaseData.ApplicationLib.Queries;

public interface ISaleOrderQueries
{
    Task<PaginatedResult<SaleOrderInfoResponseDto>?> QuerySaleOrdersByPage(SaleOrderSearchRequestDto model);
    
    Task<Result<IList<SaleOrderInfoResponseDto>>?> QuerySaleOrders(SaleOrderSearchRequestDto model);
    
    Task<Result<SaleOrderInfoResponseDto>?> GetSaleOrder(int id);
}